/**
 * /**
 * Copyright (c) 2018 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package io.renren.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录表单
 */
@Data
@ApiModel(value = "登录表单")
public class LoginDTO {
    @ApiModelProperty(value = "小程序openId")
    @NotBlank(message = "小程序openId不能为空")
    private String openId;

    @ApiModelProperty(value = "手机号")
    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @ApiModelProperty(value = "微信头像")
    private String headImg;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "性别 0-女 1-男")
    private Integer sex;

    @ApiModelProperty(value = "微信地区")
    private String area;

}